
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<!-- CSS files-->
<link rel="stylesheet" href="../../css/menuGreen.css" />
<link rel="stylesheet" href="../../css/green.css" />
<link rel="stylesheet" href="../../css/global.css" />

<!--Favorites Icon-->
<link rel="shortcut icon" href="../../img/favicon.ico" />

<!--JSTL imports-->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!-- Javascript files-->
<SCRIPT src="../../javascript/util.js"></SCRIPT>
<SCRIPT src="../../javascript/menu.js"></SCRIPT>
<SCRIPT src="../../javascript/jquery.js"></SCRIPT>
<SCRIPT src="../../javascript/thickbox.js"></SCRIPT>

<head>
	<title>EJC Event Management</title>
</head>

<!-- The BODY. Keyboard shortcuts javascript is called when a key is pressed -->
<body class="bodyStyle" onload="<c:out value="${onloadFunction}"/>">
<!-- The header DIV -->
<div width="100%" height="100">
	
		<table width="100%">
			<!-- Logos -->
			<td valign="top" class="inputStyle">
				<img src="../../img/eventLogoSmall.png">Beta
			</td>
			<!-- Menu -->
			<td valign="top" align="center">
				<!-- Include the Menu jsp -->
				<%@ include file="../menu/menu.jsp" %>	
			</td>
			<!-- User Details -->
			<td valign="top" align="right">
				<table class="inputStyle">
				<tr>
					<td class="username" align="right">
					${sessionScope.ejcSession.executive.firstName}
					${sessionScope.ejcSession.executive.lastName}</td>
					<td class="menu" align="right" onclick="javascript:showShortcuts();">| <label class="menuUnderline">Shortcuts</label><td>
					<td class="menu">| <a href="/ejc/struts/help/helpAction.do" id="help">Help</a></td>
					<td class="menu">| <a href="/ejc/struts/about/aboutAction.do" id="about">About</a></td>
					<td class="menu">| <a href="/ejc/struts/login/logoutAction.do">Sign Out</a></td>
				</tr>
				</table>
			</td>
		</table>
	
	<!-- The Banner -->


	<table cellpadding="1" cellspacing="0" width="100%" >
        <tbody>
		<tr>
			<td class="bubble tl" width="10px"></td>
			<td class="bubble" rowspan="2" align="left">
	 <c:choose>
		<c:when test="${sessionScope.ejcSession.currentAction=='Register Guest'}">
			&nbsp;<label class="titleLabel">${sessionScope.ejcSession.currentAction}</label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label style="color: #ADAAAA">Payment</label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label style="color: #ADAAAA">Complete</label>
		</c:when>
		<c:when test="${sessionScope.ejcSession.currentAction=='Payment'}">
			&nbsp;<label style="color: #ADAAAA">Register Guest</label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label class="titleLabel">${sessionScope.ejcSession.currentAction}<label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label style="color: #ADAAAA">Complete</label>
		</c:when>
		<c:when test="${sessionScope.ejcSession.currentAction=='Complete'}">
			&nbsp;<label style="color: #ADAAAA">Register Guest</label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label style="color: #ADAAAA">Payment<label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label class="titleLabel">${sessionScope.ejcSession.currentAction}</label>
		</c:when>
		<c:when test="${sessionScope.ejcSession.currentAction=='Update Registrant'}">
			&nbsp;<label class="titleLabel">Update Guest</label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label class="titleLabel"><c:out value="${conventionRegistrant.registrant.firstName}"/> <c:out value="${conventionRegistrant.registrant.lastName}"/><label>
			&nbsp; <img src="../../img/triangle.gif"> &nbsp;
			 <c:choose>
			<c:when test="${conventionRegistrant.registrantStatusType.id==1}">
				<label class="statusLabelGreen">
					<c:out value="${conventionRegistrant.registrantStatusType.statusDesc}"/>
				</label>
			</c:when>
			<c:when test="${conventionRegistrant.registrantStatusType.id==2}">
				<label class="statusLabelRed">
					<c:out value="${conventionRegistrant.registrantStatusType.statusDesc}"/>
				</label>
			</c:when>
			</c:choose>
		</c:when>
		<c:when test="${sessionScope.ejcSession.currentAction=='Update Executive'}">
			&nbsp;<label class="titleLabel">Update Executive</label>&nbsp; <img src="../../img/triangle.gif"> &nbsp;<label class="titleLabel"><c:out value="${sessionScope.ejcSession.selectedExecutive.firstName}"/> <c:out value="${sessionScope.ejcSession.selectedExecutive.lastName}"/><label>
		</c:when>
		<c:otherwise>
			<label class="titleLabel">&nbsp;${sessionScope.ejcSession.currentAction}</label>
		</c:otherwise>
	</c:choose></td>
		<td class="bubble tr" width="10px"></td>
	 </tr>
	 <tr>
		<td class="bubble bl"></td>
		<td class="bubble br"></td>
	  </tr>
	  </tbody>
	 </table>
</div>

<!-- The main DIV for the page's BODY -->
<div class="bodyDiv">

